package com.cn.api.error;

public class ErrorCode {
	public static final int CODE_FILE_UPLOAD = 90001;
	public static final String MESSAGE_FILE_UPLOAD = "文件上传失败";
	public static final int CODE_LESS_PARAMETER = 90002;
	public static final String MESSAGE_LESS_PARAMETER = "参数不全,或参数错误";
	public static final int CODE_SMS_ERROR = 90003;
	public static final String MESSAGE_SMS_ERROR = "短信发送失败";
	public static final int CODE_ERROR = 90004;
	public static final String MESSAGE_ERROR = "系统内部错误";
	public static final int CODE_PASSWORD_ERROR = 90005;
	public static final String MESSAGE_PASSWORD_ERROR = "密码错误";
	public static final int CODE_LOGIN_ERROR = 90006;
	public static final String MESSAGE_LOGIN_ERROR = "用户不存在或密码错误";
	public static final int CODE_SMSCODE_ERROR = 90007;
	public static final String MESSAGE_SMSCODE_ERROR = "验证码错误";
	public static final int CODE_TOKEN_ERROR = 90008;
	public static final String MESSAGE_TOKEN_ERROR = "TOKEN验证失败";
	public static final int CODE_LOGIN_TIMEOUT_ERROR = 90009;
	public static final String MESSAGE_LOGIN_TIMEOUT_ERROR = "登录过期";
	public static final int CODE_IMGUPLOAD_ERROR = 90010;
	public static final String MESSAGE_IMGUPLOAD_ERROR = "图片上传失败";
	public static final int CODE_IMGTYPE_ERROR = 90011;
	public static final String MESSAGE_IMGTYPE_ERROR = "图片格式不正确";
	public static final int CODE_THUMBUP_DUPLICATE_ERROR = 90012;
	public static final String MESSAGE_THUMBUP_DUPLICATE_ERROR = "已点赞";
	public static final int CODE_COLLECT_DUPLICATE_ERROR = 90013;
	public static final String MESSAGE_COLLECT_DUPLICATE_ERROR = "已收藏";
	public static final int CODE_COLLECT_NONEXIST_ERROR = 90014;
	public static final String MESSAGE_COLLECT_NONEXIST_ERROR = "未收藏";
	public static final int CODE_FLAG_ISUSE_ERROR = 90015;
	public static final String MESSAGE_FLAG_ISUSE_ERROR = "已启用";
	public static final int CODE_FLAG_ISDELETE_ERROR = 90016;
	public static final String MESSAGE_FLAG_ISDELETE_ERROR = "已禁用";
	public static final int CODE_BANNER_NONEXIST_ERROR = 90017;
	public static final String MESSAGE_BANNER_NONEXIST_ERROR = "BANNER不存在";
	public static final int CODE_THUMBUP_NONEXIST_ERROR = 90018;
	public static final String MESSAGE_THUMBUP_NONEXIST_ERROR = "未点赞";
	public static final int CODE_COOKBOOK_NONEXIST_ERROR = 90019;
	public static final String MESSAGE_COOKBOOK_NONEXIST_ERROR = "菜谱不存在";
	public static final int CODE_INGREDIENT_NONEXIST_ERROR = 90020;
	public static final String MESSAGE_INGREDIENT_NONEXIST_ERROR = "食材不存在";
	public static final int CODE_SEASONING_NONEXIST_ERROR = 90021;
	public static final String MESSAGE_SEASONING_NONEXIST_ERROR = "口味不存在";
	public static final int CODE_CUISINE_NONEXIST_ERROR = 90022;
	public static final String MESSAGE_CUISINE_NONEXIST_ERROR = "菜系不存在";
	public static final int CODE_INGREDIENTCATEGORY_NONEXIST_ERROR = 90023;
	public static final String MESSAGE_INGREDIENTCATEGORY_NONEXIST_ERROR = "食材种类不存在";
	public static final int CODE_TECHNOLOGY_NONEXIST_ERROR = 90024;
	public static final String MESSAGE_TECHNOLOGY_NONEXIST_ERROR = "工艺不存在";
	public static final int CODE_COOKBOOKTASTE_NONEXIST_ERROR = 90025;
	public static final String MESSAGE_COOKBOOKTASTE_NONEXIST_ERROR = "菜谱口味不存在";
	public static final int CODE_COOKBOOKSTEP_NONEXIST_ERROR = 90026;
	public static final String MESSAGE_COOKBOOKSTEP_NONEXIST_ERROR = "菜谱步骤不存在";
	public static final int CODE_COOKBOOKTECHNOLOGY_NONEXIST_ERROR = 90027;
	public static final String MESSAGE_COOKBOOKTECHNOLOGY_NONEXIST_ERROR = "菜谱工艺不存在";
	public static final int CODE_CUISINE_ISEXIST_ERROR = 90028;
	public static final String MESSAGE_CUISINE_ISEXIST_ERROR = "存在关联菜谱,不能删除";
	public static final int CODE_INGREDIENT_ISEXIST_ERROR = 90029;
	public static final String MESSAGE_INGREDIENT_ISEXIST_ERROR = "存在关联菜谱,不能删除";
	public static final int CODE_TASTE_ISEXIST_ERROR = 90030;
	public static final String MESSAGE_TASTE_ISEXIST_ERROR = "存在关联菜谱,不能删除";
	public static final int CODE_TECHNOLOEGE_ISEXIST_ERROR = 90031;
	public static final String MESSAGE_TECHNOLOEGE_ISEXIST_ERROR = "存在关联菜谱,不能删除";
	public static final int CODE_VIDEOSIZE_TOOMAX_ERROR = 90032;
	public static final String MESSAGE_VIDEOSIZE_TOOMAX_ERROR = "上传视屏太大";
	public static final int CODE_VIDEOTYPE_ERROR = 90033;
	public static final String MESSAGE_VIDEOTYPE_ERROR = "视屏格式不正确";
	public static final int CODE_ADMIN_ERROR = 90034;
	public static final String MESSAGE_ADMIN_ERROR = "不能添加admin用户名用户";
	public static final int CODE_ADMINPOWER_ERROR = 90035;
	public static final String MESSAGE_ADMINPOWER_ERROR = "只有admin用户有此权限";
	public static final int CODE_USERNAME_EXIST_ERROR = 90036;
	public static final String MESSAGE_USERNAME_EXIST_ERROR = "已存在相同的用户名";
	public static final int CODE_NOTLOGIN_ERROR = 90037;
	public static final String MESSAGE_NOTLOGIN_ERROR = "您未登录,请登录后操作";
	public static final int CODE_CUSINEISEXIST_ERROR = 90038;
	public static final String MESSAGE_CUSINEISEXIST_ERROR = "菜系已存在，请勿重复添加";
	public static final int CODE_CUSINEISOFF_ERROR = 90039;
	public static final String MESSAGE_CUSINEISOFF_ERROR = "菜系已停用，启用菜系后操作";
	public static final int CODE_SEASING_ERROR = 90040;
	public static final String MESSAGE_SEASING_ERROR = "调料已存在，请勿重复添加";
	public static final int CODE_SEASINGNOTEXIST_ERROR = 90041;
	public static final String MESSAGE_SEASINGNOTEXIST_ERROR = "调料不存在";
	public static final int CODE_SEASINGISUSE_ISEXIST_ERROR = 90042;
	public static final String MESSAGE_SEASINGISUSE_ISEXIST_ERROR = "存在关联菜谱,不能删除";
	public static final int CODE_NOUSER_ERROR = 90043;
	public static final String MESSAGE_NOUSERT_ERROR = "用户不存在";
	public static final int CODE_TECHNOLOGE_ERROR = 90044;
	public static final String MESSAGE_TECHNOLOGE_ERROR = "菜系已存在，请勿重复添加";
}
